package domain

import "time"

type Comment struct {
	Id int64
	// 评论者
	Commentator User `json:"user"`

	Biz     string
	BizId   int64
	Content string

	RootComment *Comment
	// 顶级评论
	ParentComment *Comment
	// 父评论
	Children []Comment
	CTime    time.Time `json:"ctime"`
}
type User struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}
